.class Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$1;
.super Ljava/lang/Object;
.source "SimpleFileDialog.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->chooseChooser(Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)V
    .locals 0

    .line 136
    iput-object p1, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$1;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 1

    .line 142
    iget-object p1, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$1;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$300(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$SimpleFileDialogListener;

    move-result-object p1

    if-eqz p1, :cond_2

    .line 145
    iget-object p1, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$1;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$400(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)I

    move-result p1

    iget-object p2, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$1;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {p2}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$500(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)I

    move-result p2

    if-eq p1, p2, :cond_1

    iget-object p1, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$1;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$400(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)I

    move-result p1

    iget-object p2, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$1;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {p2}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$600(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)I

    move-result p2

    if-ne p1, p2, :cond_0

    goto :goto_0

    .line 151
    :cond_0
    iget-object p1, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$1;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$300(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$SimpleFileDialogListener;

    move-result-object p1

    iget-object p2, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$1;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {p2}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$000(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)Ljava/lang/String;

    move-result-object p2

    invoke-interface {p1, p2}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$SimpleFileDialogListener;->onChosenDir(Ljava/lang/String;)V

    goto :goto_1

    .line 147
    :cond_1
    :goto_0
    iget-object p1, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$1;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v0, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$1;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {v0}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$700(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string v0, ""

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-static {p1, p2}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$102(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;Ljava/lang/String;)Ljava/lang/String;

    .line 148
    iget-object p1, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$1;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$300(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$SimpleFileDialogListener;

    move-result-object p1

    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v0, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$1;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {v0}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$000(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, "/"

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v0, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$1;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {v0}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$100(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-interface {p1, p2}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$SimpleFileDialogListener;->onChosenDir(Ljava/lang/String;)V

    :cond_2
    :goto_1
    return-void
.end method
